<?php

namespace app\index\model;

use think\Model;
use think\Db;
use think\Request;

class Index extends Model
{
    public function index()
    {
        $res = Db::name('user')
            ->where('status',1)
            ->field('pass', true)
            ->select();
        return $res;
    }
}
